解决:

 

 

注意  BufferedImage type 如果不对会看不到图片

参考:

https://docs.oracle.com/javase/tutorial/2d/images/drawimage.html

 

发表评论

电子邮件地址不会被公开。